package com.chenjun.core.service.oa;

import java.util.List;

import com.chenjun.common.bean.Pagination;
import com.chenjun.common.model.DataGridModel;
import com.chenjun.core.dao.generator.entity.OaBillAttnDayReport;
import com.chenjun.core.dao.generator.entity.OaBillAttnDetail;

/**
 * 
 * @Description: 日结表service
 * @author dyb
 * @date 2017-8-16 下午7:15:44
 */
public interface OaBillAttnDayReportService {
	
	public OaBillAttnDayReport get(int id);

	public int create(OaBillAttnDayReport oaBillAttnDayReport);

	public int delete(int id);

	public int update(OaBillAttnDayReport oaBillAttnDayReport);

	public int createOrUpdate(OaBillAttnDayReport oaBillAttnDayReport);

	public List<OaBillAttnDayReport> doListByCondition(DataGridModel param);

	public Pagination doPagination(DataGridModel param);

	public List<OaBillAttnDayReport> getDistinctByEmplid(DataGridModel param);

	public boolean updateNormalHours(OaBillAttnDayReport oaBillAttnDayReport, float normalHours);

	public boolean createDayReport(OaBillAttnDetail oaBillAttnDetail, float normalHours);
}
